package com.skillworld.webapp.model.itemservice;

import java.util.List;

import com.skillworld.webapp.model.bag.ItemRecord;
import com.skillworld.webapp.model.item.Item;
import com.skillworld.webapp.model.util.InvalidArgumentException;

import es.udc.pojo.modelutil.exceptions.InstanceNotFoundException;

public interface ItemService
{
    public Item findItem(Long itemId) throws InstanceNotFoundException;
	public ItemRecord buyItem(Long userId, Long itemId)
	        throws InstanceNotFoundException, NoLevelException, BagFullException;
	public void removeItemRecord(long userId, long recordId)
	        throws InstanceNotFoundException;
	public List<Item> visitStore();
	public void giftItem(long giverId, long recipientId, long entryId)
	    throws InvalidArgumentException, InstanceNotFoundException, BagFullException;
}
